#ifndef PRINTLOG_H
#define PRINTLOG_H

#include "QFile"
#include "QDir"
#include "QTextStream"
#include "QDate"
#include "QTime"

class printLog
{
public:
    printLog();
    ~printLog();
    QString filepath;
    QTextStream stream ;
    QFile file ;
    QString timer,day ;
public:
    void logprint(QString str);
    void logprint(QByteArray str);
    void logprint(QString str1,QString str2);
    void logprint(QByteArray str1,QByteArray str2);
    void closefile();
};

#endif // PRINTLOG_H
